import Vue from 'vue' 

import App from './App'
import myResquest from "common/request.js"
import store from './store/index.js'
import foot from './components/foot.vue'
import home from './pages/index/index.vue'
Vue.component('home',home)
import zhaopin1 from './pages/zhaopin1/zhaopin1.vue'
Vue.component('zhaopin1',zhaopin1)
import join from './pages/join/join.vue'
Vue.component('join',join)
import server from './pages/server/server.vue'
Vue.component('server',server)
import my from './pages/my/my.vue'
Vue.component('my',my)
// import cuCustom from './components/cu-custom.vue'
// Vue.component('cu-custom',cuCustom)
// #ifndef VUE3
Vue.config.productionTip = false
Vue.prototype.$webUrl ="https://www.chuanjianbao.com"
Vue.prototype.$myResquest=myResquest
// 全局处理undefined和null
Vue.prototype.$praseStrEmpty = function(str) {
    if (typeof str === 'undefined' || str === null) {
        return "";
    }
    return str;
}

App.mpType = 'app'
const app = new Vue({
    ...App,
	store
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif